#include <iostream>
#include "matrix.h"
using namespace std;

int main() {

	int **a, **b, **c;
	a = new int *[5];
	b = new int *[5];
	c = new int *[5];
	for (int i = 0; i < 5; i++)
	{
		a[i] = new int[5];
		b[i] = new int[5];
		c[i] = new int[5];
	}

	for (int i = 0; i<5; i++)
	{
		for (int j = 0; j<5; j++)
		{
			a[i][j] = 1;
			b[i][j] = 2;
			c[i][j] = 3;
		}
	}
	matrix obj;
	obj.matrixAdd(a, b, c, 5, 5, 5, 5);
	cout << endl;
	obj.matrixSubtract(a, b, c, 5, 5, 5, 5);
	cout << endl;
	obj.matrixMultiply(a, b, c, 5, 5, 5, 5);

	return 0;
	
}
